package com.cruise.game.model.param.agent;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.DecimalMin;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 代理信息更新参数
 *
 * @author cruise
 * @date 2025-02-28
 */
@Data
@ApiModel("代理信息更新参数")
public class AgentUpdateParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "服务价格", required = true)
    @NotNull(message = "服务价格不能为空")
    @DecimalMin(value = "0.01", message = "服务价格必须大于0")
    private BigDecimal servicePrice;

    @ApiModelProperty(value = "服务描述")
    private String description;
}